package bank;

import java.io.Serializable;

public class User implements Serializable {
    private String account;
    private String psw;
    private Double balance;

    public User() {
    }

    public User(String account, String psw, double balance) {
        this.account = account;
        this.psw = psw;
        this.balance = balance;
    }

    @Override
    public String toString() {
        return "User{" +
                "account='" + account + '\'' +
                ", psw='" + psw + '\'' +
                ", balance=" + balance +
                '}';
    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public String getPsw() {
        return psw;
    }

    public void setPsw(String psw) {
        this.psw = psw;
    }

    public Double getBalance() {
        return balance;
    }

    public void setBalance(Double balance) {
        this.balance = balance;
    }
}
